
// 测试笔记
// let args = input

// console.log(`Loading view1`);
// console.log(args)

// function foo(...args) {
//     console.log('foo is called with args', ...args);
// }
// foo(args)

let list1 = [1, 2, 3];
let list2 = [4, 2, 3,1];

let state = list1.every((item, index) => {
    for (let i = 0; i < list2.length; i++) {
        if (item === list2[i]) {
            return true;
        }
    }
    return false;
})

console.log(state);